package com.ck.core.constant;

/**
 * 缓存常量类
 */
public class CacheConstant {
	/**
	 * 缓存名-创客终端设置信息
	 */
	public static final String CACHE_NAME_DEVICE_SETTING = "CK_DEVICE_SETTING_CACHE";
	/**
	 * 缓存名-创客轮询配置信息
	 */
	public static final String CACHE_NAME_POLL_CONFIG = "CK_POLLCONFIG_CACHE";

	/**
	 * 缓存名-登录用户token
	 */
	public static final String CACHE_NAME_CK_TOKEN_CACHE_NAME = "CK_USER_TOKEN";

	/** 缓存名-设备关键信息 */
	public static final String CACHE_NAME_DEVICE_KEY_MSG = "CK_DEVICE_KEY_MSG";

	/**
	 * 缓存名-记录用户登录失败次数和冻结时间
	 */
	public static final String CACHE_NAME_CK_USER_LOGIN_FAIL_RECORD = "CK_USER_LOGIN_FAIL_RECORD";

	/**
	 * 缓存名-记录图片验证码code
	 */
	public static final String CACHE_NAME_CK_IMAGE_CODE_PREFIX = "CK_IMAGE_CODE_";

	/**
	 * 缓存名-记录终端上报信息
	 */
	public static final String CACHE_NAME_CK_DEVICE_ONLINE = "CK_DEVICE_ONLINE";

	/**
	 * 缓存名-SpringCache前缀
	 */
	public static final String CACHE_NAME_CK_SPRING_CACHE_PREFIX = "ck.spring.cache.";


	/**
	 * 缓存名-系统配置
	 */
	public static final String CACHE_NAME_CK_SPRING_CACHE_SYS_CONFIG = CACHE_NAME_CK_SPRING_CACHE_PREFIX + "sysconfig";

	/**
	 * 缓存名-数据字典
	 */
	public static final String CACHE_NAME_CK_SPRING_CACHE_DICT = CACHE_NAME_CK_SPRING_CACHE_PREFIX + "dict";

}
